package com.gzdh.tang.modu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gzdh.tang.modu.entity.TangOrder;
import com.gzdh.tang.modu.entity.Zweekmenubak;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ZweekmenubakMapper extends BaseMapper<Zweekmenubak> {

    @Select("select ZL,BM,NAME,PRICE,addr from ZWEEKMENUBAK where SAVEDM='网络订餐' and (YYEAR+'-'+YMONTH+'-'+YDAY)='2022-06-15' order by xh asc")
    List<Zweekmenubak> findZweekMenuBak(@Param("tableNameAddress") int tableNameAddress);

}
